﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MenuItem
{
    class Program
    {
        static void Main(string[] args)
        {
            List<MenuItemBaseClass> newMenu = new List<MenuItemBaseClass>();
            newMenu.Add(new Snack("Cheese", 2.00));
            newMenu.Add(new Snack("Meat", 4.00));
            newMenu.Add(new Snack("Bread", 1.00));
            newMenu.Add(new Beverage("Tea", 1.00, 2.00, 3.00));
            newMenu.Add(new Beverage("Water", 0.50, 1.00, 1.50));
            newMenu.Add(new Beverage("Cofee", 1.50, 2.00, 2.50));
            newMenu.Add(new Beverage("Ice Tea", 1.25, 1.75, 3.00));

            foreach (var i in newMenu)
                i.PrintToConsole();

        }

       
    }
}
